package com.itheima.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.Bean.Dish;
import com.itheima.dto.DishDto;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


public interface DishService extends IService<Dish> {

    void addDishWithFlavors(DishDto dishDto);


    DishDto getDishWithFlavors(Long id);


    void updateWithFlavors(DishDto dishDto);

    void remove(List<Long> ids);
}
